<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 16-10-16
 * Time: 下午4:01
 */
return [
    /* 后台导航定义
        字段解释
        name ： 导航名字
        url ： 跳转地址  is_show 为 0 的菜单可以忽略此参数  一级导航可忽略此参数
        icon ： 导航图标  is_show 为 0 的菜单可以忽略此参数  二级导航可忽略此参数
        is_show ： 是否显示  1 显示  0 隐藏
        path ： 控制器/方法  用来定位导航配置项，获取相关导航参数
        active ： 导航选中状态定位  当本导航 is_show 字段等于 0 时， 需要指定需要高亮的导航配置的配置名称  如果 active 为空  直接使用本导航的导航名称定位
        children ： 二级导航
     */

    'main' => [
        'name' => '系统管理',
        'icon' => '&#xe62e;',
        'is_show' => 1,
        'children' => [
            'main_index' => [ 'name' => '主页', 'url' => url('index/index'), 'is_show' => 1, 'path' => 'Index/index'],
            'system' => [ 'name' => '系统设置', 'url' => url('system/index'), 'is_show' => 1, 'path' => 'System/index'],
            'banner' => [ 'name' => 'banner管理', 'url' => url('banner/index'), 'is_show' => 1, 'path' => 'Banner/index'],
            'save_banner' => [ 'name' => '添加/编辑banner', 'is_show' => 0, 'path' => 'Banner/save_banner'],
            'wechat' => [ 'name' => '微信配置', 'url' => url('wechat/index'), 'is_show' => 1, 'path' => 'Wechat/index'],
            'nav' => [ 'name' => '前台导航', 'url' => url('nav/index'), 'is_show' => 1, 'path' => 'Nav/index']
        ]
    ],
    'category' => [
        'name' => '内容管理',
        'icon' => '&#xe620;',
        'is_show' => 1,
        'children' => [
            'category_index' => [ 'name' => '分类管理', 'url' => url('category/index'), 'is_show' => 1, 'path' => 'Category/index'],
            'category_save' => [ 'name' => '保存分类数据', 'is_show' => 0, 'path' => 'Category/save_category'],
            'article_index' => [ 'name' => '文章管理', 'url' => url('article/index'), 'is_show' => 1, 'path' => 'Article/index'],
            'article_save' => [ 'name' => '保存文章', 'is_show' => 0, 'path' => 'Article/save_article'],
            'page_category' => [ 'name' => '单页分类管理', 'url' => url('page/category'), 'is_show' => 1, 'path' => 'Page/category'],
            'page_category_save' => [ 'name' => '保存单页分类', 'is_show' => 0, 'path' => 'Page/save_category'],
            'page_article' => [ 'name' => '单页文章管理', 'url' => url('page/article'), 'is_show' => 1, 'path' => 'Page/article'],
            'page_article_save' => [ 'name' => '保存单页文章', 'is_show' => 0, 'path' => 'Page/save_article'],
        ]
    ],
    'order' => [
        'name' => '下载管理',
        'icon' => '&#xe687;',
        'is_show' => 1,
        'children' => [
            'download_index' => [ 'name' => '资源列表', 'url' => url('download/index'), 'is_show' => 1, 'path' => 'Download/index'],
            'download_save' => [ 'name' => '保存资源', 'is_show' => 0, 'path' => 'Download/save_download'],
        ]
    ],
    'activity' => [
        'name' => '活动管理',
        'icon' => '&#xe687;',
        'is_show' => 1,
        'children' => [
            'activity_index' => [ 'name' => '活动列表', 'url' => url('activity/index'), 'is_show' => 1, 'path' => 'Activity/index'],
            'activity_zjjz' => [ 'name' => '征集酒字', 'url' => url('activity/zjjz'), 'is_show' => 1, 'path' => 'Activity/zjjz'],
            'activity_advert' => [ 'name' => '征集广告语', 'url' => url('activity/advert'), 'is_show' => 1, 'path' => 'Activity/advert'],
            'activity_advertexcel' => [ 'name' => '征集广告语中奖信息导出', 'url' => url('activity/advertexcel'), 'is_show' => 1, 'path' => 'Activity/advertexcel'],
            'activity_enlist' => [ 'name' => '博鳌酒业峰会报名列表', 'url' => url('activity/enlist'), 'is_show' => 1, 'path' => 'Activity/enlist'],
            'activity_drink' => [ 'name' => '理性饮酒周邀请函', 'url' => url('activity/drink'), 'is_show' => 1, 'path' => 'Activity/drink'],
            'activity_vote' => [ 'name' => '珍湘酒广告语投票', 'url' => url('activity/vote'), 'is_show' => 1, 'path' => 'Activity/vote'],
            'activity_works' => [ 'name' => '珍湘酒作品征集列表', 'url' => url('activity/works'), 'is_show' => 1, 'path' => 'Activity/works'],
        ]
    ],
    'jurisdictionGroup' => [
        'name' => '管理员管理',
        'icon' => '&#xe60d;',
        'is_show' => 1,
        'children' => [
            'JurisdictionGroup_index' => [ 'name' => '角色管理', 'url' => url('JurisdictionGroup/index'), 'is_show' => 1, 'path' => 'JurisdictionGroup/index'],
            'urisdiction_index' => [ 'name' => '权限管理', 'url' => url('jurisdiction/index'), 'is_show' => 1, 'path' => 'jurisdiction/index'],
            'admin_index' => [ 'name' => '管理员列表', 'url' => url('admin/index'), 'is_show' => 1, 'path' => 'admin/index'],
        ]
    ]
];